<?php

/* @var $this yii\web\View */
/* @var $name string */
/* @var $message string */
/* @var $exception Exception */

use yii\helpers\Html;

$this->title = $name;
$this->params['nav_title']=array(
    'title'=>"",
    'sub_title'=>""
);
$this->params['jsFiles']=[
    "/js/admin/site/error.bundle.js"
];
?>
<div class="site-error" style="min-height: 900px;">

    <h1><?= Html::encode($this->title) ?></h1>

    <div class="alert alert-danger">
        <?= nl2br(Html::encode($message)) ?>
    </div>
    <article>
        <?= nl2br(Html::encode($exception)) ?>
    </article>
        <p>
            The above error occurred while the Web server was processing your request.
        </p>
        <p>
            Please contact us if you think this is a server error. Thank you.
        </p>

</div>
